<html>
<head><meta charset="utf-8"><title>self-profiling support crate · t-compiler/wg-self-profile · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/index.html">t-compiler/wg-self-profile</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html">self-profiling support crate</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="160095991"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160095991" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160095991">(Mar 06 2019 at 13:43)</a>:</h4>
<p>Before creating a repository, we need a name for the crate defining the binary event data format.</p>



<a name="160096090"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160096090" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160096090">(Mar 06 2019 at 13:44)</a>:</h4>
<p>just <code>self_profile_support</code> maybe?</p>



<a name="160096109"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160096109" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160096109">(Mar 06 2019 at 13:44)</a>:</h4>
<p>or <code>self_profile</code>?</p>



<a name="160096172"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160096172" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160096172">(Mar 06 2019 at 13:45)</a>:</h4>
<p><code>profile_data</code>? IIUC, this is a more-or-less generic data format</p>



<a name="160096296"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160096296" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160096296">(Mar 06 2019 at 13:46)</a>:</h4>
<p>yeah, that would work too</p>



<a name="160096392"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160096392" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160096392">(Mar 06 2019 at 13:47)</a>:</h4>
<p>here is a sketch of what the string table implementation could look like, btw: <a href="https://gist.github.com/michaelwoerister/85ae5e9bf443a9ee0e5e3f55bbd4c682" target="_blank" title="https://gist.github.com/michaelwoerister/85ae5e9bf443a9ee0e5e3f55bbd4c682">https://gist.github.com/michaelwoerister/85ae5e9bf443a9ee0e5e3f55bbd4c682</a></p>



<a name="160100177"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160100177" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160100177">(Mar 06 2019 at 14:31)</a>:</h4>
<p>Is this an instance where a <code>rustc_</code> prefix would be appropriate?</p>



<a name="160100942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160100942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160100942">(Mar 06 2019 at 14:40)</a>:</h4>
<p>I don't think there'll be anything rustc specific in it and it might be something that get's re-used by salsa in some form.</p>



<a name="160100978"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160100978" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160100978">(Mar 06 2019 at 14:41)</a>:</h4>
<p>although something like <code>profile_data</code> sounds a bit too generic to me</p>



<a name="160101498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160101498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160101498">(Mar 06 2019 at 14:46)</a>:</h4>
<p>We could do a slightly less literal name</p>



<a name="160101584"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160101584" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160101584">(Mar 06 2019 at 14:47)</a>:</h4>
<p><code>libmetiri</code> for example (metiri is the latin word for measure)</p>



<a name="160192642"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160192642" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160192642">(Mar 07 2019 at 12:28)</a>:</h4>
<p>I actually kind of like <code>libmeasureme</code>, although it was meant more as a joke on the other thread :)</p>



<a name="160193145"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160193145" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160193145">(Mar 07 2019 at 12:37)</a>:</h4>
<p>It does seem like a nice name -- though maybe we'd drop the <code>lib</code> since that's not standard outside rust-lang/rust?</p>



<a name="160199086"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160199086" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160199086">(Mar 07 2019 at 14:02)</a>:</h4>
<p>yeah</p>



<a name="160199562"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160199562" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160199562">(Mar 07 2019 at 14:08)</a>:</h4>
<p>+1 from me :)</p>



<a name="160199650"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/self-profiling%20support%20crate/near/160199650" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/self-profiling.20support.20crate.html#160199650">(Mar 07 2019 at 14:08)</a>:</h4>
<p><code>measureme</code> is available on <a href="http://crates.io" target="_blank" title="http://crates.io">crates.io</a> as well <a href="https://crates.io/search?q=measureme" target="_blank" title="https://crates.io/search?q=measureme">https://crates.io/search?q=measureme</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>